﻿using System.Text;
using System.ComponentModel;
using System.Web;
using System.Data.Entity;
using System.Diagnostics;
using System.Data.Entity.ModelConfiguration.Configuration.Types;
using System.Data.Entity.ModelConfiguration.Conventions.Configuration;
using System.Reflection;
using System.ComponentModel.DataAnnotations;

namespace MSBTC.Model
{
    public class Material
    {

        [Key]
        public int Materialsid_PK { get; set; }

        [Column]
        public string MaterialName { get; set; }

        [Column]
        public int Quantity { get; set; }

        [Column]
        public string Unit { get; set; }

        [Column]
        public int Direct_Cost { get; set; }

        [Column]
        public int VAT { get; set; }

        [Column]
        public int Markupin_OCM { get; set; }

        [Column]
        public int Markupin_Profit { get; set; }

        [Column]
        public int TotMarkup_pct { get; set; }

        [Column]
        public int TotMarkup_Value { get; set; }

        [Column]
        public int TotIndCost { get; set; }

        [Column]
        public int Total_Cost { get; set; }

        [Column]
        public int Unit_Cost { get; set; }

        [Column]
        public int Categoryid_FK { get; set; }

        [Column]
        public int Projectid_FK { get; set; }
    }
}
